package com.huawei.appmarket.service.externalapi.actions;

import android.content.DialogInterface;
import android.content.DialogInterface.OnDismissListener;
import o.cki;
import o.Logger;
import o.due;
import o.dyr;
import o.dys.a;

public class BatchUpdateAction extends dyr {
    private static final String TAG = "BatchUpdateAction";

    public BatchUpdateAction(a aVar) {
        super(aVar);
    }

    public boolean useCacheProtocol() {
        return true;
    }

    public void onAction() {
        due o_due = new due();
        o_due.ˋ(true);
        o_due.ˎ(new OnDismissListener(this) {
            final /* synthetic */ BatchUpdateAction ॱ;

            {
                this.ॱ = r1;
            }

            public void onDismiss(DialogInterface dialogInterface) {
                this.ॱ.callback.finish();
            }
        });
        o_due.ˏ(new cki(this) {
            final /* synthetic */ BatchUpdateAction ˏ;

            {
                this.ˏ = r1;
            }

            public void ˋ() {
                this.ˏ.callback.finish();
            }
        });
        Logger.ˎ(TAG, "updateAll result:" + o_due.ˊ(this.callback.ˊ(), null));
        this.callback.finish();
    }
}
